﻿using SmartWMS.Common.ResponseOutput;
using SmartWMS.Domain.FinanceManage;
using SmartWMS.Server.BusinessServer.SalesReturnServer.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Server.BusinessServer.SalesReturnServer
{
    public interface ISalesReturnServers:ITransientServer
    {
        /// <summary>
        /// 显示销售退货
        /// </summary>
        /// <returns></returns>
        Task<Response<List<SalesReturnDtoPes>>> GetSalesReturnDtoPes(SalesReturnPage dto);
        /// <summary>
        /// 查看详情
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        List<SalesReturnDtoPes> GetSalesReturnShow(SalesReturnDtoPes dto);
        /// <summary>
        /// 修改状态（确认订单）
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<Response<bool>> UpdateStateSalesReturn(PaymentDtoPes dto);
        /// <summary>
        /// 驳回订单
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<Response<bool>> UpdaSalesReturn(SalesReturnDtoPes dto);
        /// <summary>
        /// 付款方式
        /// </summary>
        /// <returns></returns>
        public Task<Response<List<PayType>>> GetPayType();
    }
}
